package org.sample.project.service;

import org.sample.project.check.DefaultDbObjectCheckService;
import org.sample.project.check.MssqlDbObjectCheckService;

public final class DbObjectCheckFactory {

    public static DbObjectCheckService getObjectCheckService(String dbType){
        switch(dbType){
            case "mssql":
                return new MssqlDbObjectCheckService();
            default:
                return new DefaultDbObjectCheckService();
        }
    }
}
